<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head>
	<title>:: tkt2seat</title>
	<meta name="author" content="Mauro Maggi - mau.maggi@gmail.com"/>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<link href="/<?= MVCApplication::getRoute()->getAppname()?>/css/default.css" rel="stylesheet" type="text/css" /> 

	<!--[if lt IE 7]>
	<script defer type="text/javascript" src="/<?= MVCApplication::getRoute()->getAppname()?>/js/trasparenza.js"></script>
	<![endif]-->
</head>

<body>

<div id="home_centrale">
	<div class="struttura">
		<div class="linkrosa" style="margin-bottom:10px;">
			<h1 class="lobster">TkT-2-Seat</h1>
		</div>
	</div>
</div>	

<div class="struttura pagina">
	<h2>Login amministrazione</h2>
	
	<p>
	Inserire i dati di login forniti dall'amministratore di sistema 
	<p>
	
	<form action="/<?= MVCApplication::getRoute()->getAppname()?>/admin_login" method="post">
	
		<div style="display: table-cell; width:100px;">
			Email
		</div>
		<div style="display: table-cell">
			<input type="text" name="login[email]" class="<?php if ($this->errors) echo "error"; ?>" />
		</div>
	
		<div style="clear: both; margin-top:4px;"></div>
		
		<div style="display: table-cell; width:100px;">
			Password
		</div>
		<div style="display: table-cell">
			<input type="password" name="login[password]" class="<?php if ($this->errors) echo "error"; ?>" />
		</div>
		
		<div style="clear: both"></div>
		
		<?php if ($this->errors): ?>
			<p class="error">Nome utente o password errati</p>
		<?php endif ?>
		
		<p>&nbsp;</p>
		<input type="submit" value="Login" name="login[submit]" />
		<input type="button" value="Indietro" onclick="window.location='/<?php MVCApplication::getRoute()->getAppname()?>';" />
	
	</form>
</div>

</body>

</html>